package com.time.dao;

import java.text.SimpleDateFormat;
import java.util.Date;

public class QuartDao {
	public void test(){
		System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
	}
	public static void main(String[] args) {
		new QuartDao().test();
	}
	public String getString(String str) throws Exception{
		return new String(str.getBytes("iso-8859-1"), "utf-8"); 
	}
}
